import React from 'react';
import ReactDOM from 'react-dom';
import * as Sys from './sys';

import { PageHeader } from './components/page-header';
import { Content, PageTitle } from './components/content';
import { PageFooter } from './components/page-footer';

import './index.css';

export class App extends React.Component {
    render(): JSX.Element {
        return <>
            <PageHeader current={10} />
            <Content>
                <PageTitle>Home</PageTitle>
            </Content>
            <PageFooter />
        </>;
    }
}

Sys.ready(() => ReactDOM.render(<App />, document.getElementById('root')!));
